package com.cooldatasoft.support.git;

import java.util.List;

/**
 * User: brano
 */
class FileNode extends AbstractFileNode {
    private float size;

    public FileNode(long lastModified, long size, String fileName) {
        super(lastModified, fileName);
        this.size =  ((float) size) / ((float) 1024);
    }

    @Override
    public boolean isDirectory() {
        return false;
    }

    @Override
    public List<FileNodeInterface> getChildren() {
        return null;
    }

    public float getSize() {
        return size;
    }
}
